<script lang="javascript" type="text/javascript" src="<?php echo $this->config['euro2012']['js']; ?>/video.js"></script>
<script src="http://plugins.banbe.net/static/js/v2/social-plugins.js?_t=200911" type="text/javascript"></script>
<script src="http://plugins.banbe.net/static/js/v2/fo-connect.js?_t=200911" type="text/javascript"></script>
<div class="banner_980 box_width_common"> <img src="images/ads/banner_980.jpg" alt="" /> </div>
<div class="w980 left">
    <div id="col_left" class="w670 left">
        <?php
        
        if (!empty ($this->videoDetail))
        {
        ?>
        <div id="cate_video" class="box_width_common">
            <div class="content_block_video">
                <div class="block_flash_video">
                    <?php $urlInfo = BASE_URL . '/video/vne-info/id/'.$this->videoDetail['article_id']; ?>
                    <object width="650" height="410" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="videoplayer" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">
                        <param name="movie" value="<?php echo $this->config['flash']?>/player_local.swf">
                        <param name="allowScriptAccess" value="always" />
                        <param name="quality" value="high">
                        <param name="wmode" value="transparent">
                        <param name="flashvars" value="xmlPath=<?php echo $urlInfo; ?>&colorAux=0x0099ff&colorBorder=0x333333&colorMain=0xffffff&local=embed&mAuto=true&autoHide=false&trackurl=&amp;tracktype=video">
                        <param name="allowfullscreen" value="true">
                        <embed width="622" height="351" id="videoplayer" flashvars="xmlPath=<?php echo $urlInfo; ?>&colorAux=0x0099ff&colorBorder=0x333333&colorMain=0xffffff&local=embed&mAuto=true&autoHide=false&trackurl=&amp;tracktype=video" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" src="<?php echo $this->config['flash']?>/player_local.swf">
                    </object>
                </div>
                <div class="share_news box_width_common">
                    <ul>
                        <li>
                        <bb:sp-like show_avatar="false" layout="button_count" height="25" width="115" like_text="Like" display="block" title="<?php echo $this->arrArticleDetail['title']; ?>"></bb:sp-like>
                        </li>
                        <li>
                            <a rel="nofollow" target="_blank" href="http://plugins.banbe.net/share/post?href=<?php echo BASE_URL . urlencode($this->Articleurl($this->arrArticleDetail));?>&title=<?php echo $this->arrArticleDetail['title']; ?>" title="Chia sẻ lên banbe" alt="Chia sẻ lên banbe">
                                <span class="icon_portal_thethao icon_like_banbe left">&nbsp;</span><span class="num_like_right">Chia sẻ</span>
                            </a>
                        </li>
                        <li><a rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=<?php echo BASE_URL . urlencode($this->Articleurl($this->arrArticleDetail));?>&t=<?php echo $this->arrArticleDetail['title']; ?>" title="Chia sẻ facebook"><span class="icon_portal_thethao icon_like_fb left">&nbsp;</span></a></li>
                        <li>
                            <a rel="nofollow" target="_blank" href="https://twitter.com/share?url=<?php echo BASE_URL . urlencode($this->Articleurl($this->arrArticleDetail));?>&text=<?php echo $this->arrArticleDetail['title']; ?>" title="Chia sẻ twitter"><span class="icon_portal_thethao icon_like_tweet left">&nbsp;</span></a>
                        </li>
                        <li>
                            <g:plusone size="medium" annonation="none"></g:plusone>
                        </li>
                    </ul>
                    <div class="right"> <span class="icon_portal_thethao icon_num_view">&nbsp;</span> <b class="txt_18"><?php echo $this->ArticleViewTrack($this->videoDetail); ?></b> </div>
                </div>
            </div>
            <div class="infomation_video box_width_common">
                <div class="content_block_video">
                    <h1 class="txt_18"><a href="#"><?php echo $this->videoDetail['title']; ?></a></h1>
                    <p class="txt_11 txt_gray"><?php echo $this->DateTimeFormat($this->videoDetail["publish_time"]);?></p>
                    <p><?php echo $this->videoDetail["lead"]; ?></p>
                </div>
            </div>
        </div>
        <?php
        } //end if
        ?>
    </div>
    <div id="col_right" class="w300 right">        
        <div class="banner_300x250 left w300"> <?php echo $this->render('common/box_quang_cao_right.phtml'); ?></div>
        <?php echo $this->render('video/box/box_related_media.phtml');?>
        
    </div>
    <div class="w980 left">
        <div id="cate_video_noibat" class="football box_width_common">
            <?php
            echo $this->render('/video/box_top_view.phtml');
            ?>
        </div>
    </div>
    <div class="w980 left box_bg_white">
        <div class="left w170">
            <?php echo $this->render('video/box_list_cate.phtml'); ?>
        </div>
        <div class="w810 right">
            <div id="cate_video_moi_chuyenmuc" class="football box_width_common box_col_670">
                <div class="title_cate">
                    <p class="left">Mới nhất</p>
                </div>
                <?php
                echo $this->render('video/box_list_newest.phtml');
                ?>
                
            </div>
        </div>
        
    </div>
</div>

<script language="javascript" type="text/javascript">
    $(document).ready(function(){
        VideoPage.init({
            currCateID: <?php echo $this->cateID; ?>,
            currCateName: '<?php echo $this->cateName; ?>',
            totalVideo: <?php echo $this->totalVideo; ?>,
            totalPage: <?php echo $this->totalPage; ?>,
            currPage: <?php echo $this->currPage; ?>,
            listVideoIds: <?php echo $this->listVideoIds; ?>,
            excluse: <?php echo $this->excluse; ?>,
            baseUrl: '<?php echo BASE_URL; ?>',
            listVideoEleId: 'cate_video_moi_chuyenmuc',
            loadingEleId: 'loading_data'
        });
    })
</script>